def indent(message, indentation=(" " * 4), indent_first=True):
    """Indent the lines in 'message' using a custom indentation string."""
    parts = [""] if indent_first else []
    parts.extend(str(message).splitlines(True))
    return str(indentation).join(parts)
    
